package com.atguigu.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.atguigu.base.BaseDao;
import com.atguigu.base.BaseServiceImpl;
import com.atguigu.dao.RolePermissionDao;
import com.atguigu.entity.RolePermission;
import com.atguigu.service.RolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 杨林
 * @create 2022-09-29 17:53 星期四
 * description:
 */
@Transactional
@Service(interfaceClass = RolePermissionService.class)
public class RolePermissionServiceImpl extends BaseServiceImpl<RolePermission> implements RolePermissionService {

    @Autowired
    private RolePermissionDao rolePermissionDao;

    @Override
    protected BaseDao<RolePermission> getEntityDao() {
        return rolePermissionDao;
    }
}
